package com.example.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springboot.common.Page;
import com.example.springboot.entity.User;

import java.util.List;

public interface UserService extends IService<User> {


    List<User> selectByName(String name);


    List<User> selectByMo(String username, String name);

    Page<User> selectByPage(Integer pageNum, Integer pageSize, String username, String name);

    User login(User user);

    User register(User user);

    void resetPassword(User user);
}
